projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5cfec
)
(fill-paragraph): Check for a minibuffer
author
Richard M. Stallman
<rms@gnu.org>
Tue, 26 Dec 2006 02:54:41 +0000
(
02:54
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 26 Dec 2006 02:54:41 +0000
(
02:54
+0000)
rather than for being in a minibuffer window.
lisp/textmodes/fill.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/fill.el
b/lisp/textmodes/fill.el
index 3fec7a31b9fc728b7c1e0e220cc0328071a8c6dc..e3250a6f7105befb2e809d4202ade87d39136738 100644
(file)
--- a/
lisp/textmodes/fill.el
+++ b/
lisp/textmodes/fill.el
@@
-762,7
+762,7
@@
If `fill-paragraph-function' is nil, return the `fill-prefix' used for filling."
(list (if current-prefix-arg 'full))))
;; First try fill-paragraph-function.
(or (and (or fill-paragraph-function
- (and (
window-minibuffer-p (selected-window
))
+ (and (
minibufferp (current-buffer
))
(= 1 (point-min))))
(let ((function (or fill-paragraph-function
;; In the minibuffer, don't count the width